/* Copyright (C) 2008, 2009, 2010 Faindu GmbH, Switzerland.
* All Rights Reserved. The following is Source Code and is subject to all restrictions 
* on such code as contained in the license accompanying this project. */
package blocstac.editimage
{
	import blocstac.api.blocbox.ImageLoader;
	import blocstac.api.blocbox.MimeType;

public interface EditImageData
{

	/**
	 * Contains the binary in JPG or PNG format.
	 */
	function get imageLoader():ImageLoader
	
	/**
	 * The configuration stores additional properties of the image like the angle.
	 * The config is always valid XML and may look like e.g. 
	 * <code><editimage><angle>0</angle></editimage></code>
	 */
	function get config():String
	
	/**
	 * The mime type of the image, for example "image/png".
	 */
	function get mimeType():MimeType
	 
}
}